﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WMS_SalesOrderCreateDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    public class WMS_SalesOrderCreateRequestDto
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "data")]
        public WMS_SalesOrderCreateHeaderDto data { get; set; }
    }


    public class WMS_SalesOrderCreateHeaderDto
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "header")]
        public List<WMS_SalesOrderCreateHeader> header { get; set; }
    }



    /// <summary>
    /// 请求参数
    /// </summary>
    public class WMS_SalesOrderCreateHeader
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "warehouseId")]
        public string warehouseId { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customerId")]
        public string customerId { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "orderType")]
        public string orderType { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "soReference1")]
        public string soReference1 { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "soReference2")]
        public string soReference2 { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "soReference3")]
        public string soReference3 { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "consigneeId")]
        public string consigneeId { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "consigneeName")]
        public string consigneeName { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "hedi04")]
        public string hedi04 { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "hedi05")]
        public string hedi05 { get; set; }

        /// <summary>
        /// 描述 : 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "details")]
        public List<WMS_SalesOrderCreate_Details> details { get; set; }

    }

    /// <summary>
    /// 请求参数
    /// </summary>
    public class WMS_SalesOrderCreate_Details
    {
        /// <summary>
        /// 描述 : 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "orderLineNo")]
        public int orderLineNo { get; set; }
        /// <summary>
        /// 描述 : 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sku")]
        public string sku { get; set; }

        /// <summary>
        /// 描述 : 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "qtyOrdered")]
        public int qtyOrdered { get; set; }

        /// <summary>
        /// 描述 : 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "dedi03")]
        public string dedi03 { get; set; }

        /// <summary>
        /// 描述 : 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "dedi05")]
        public string dedi05 { get; set; }

        /// <summary>
        /// 描述 : 计划流水号ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "dedi06")]
        public string dedi06 { get; set; }


    }

   

    /// <summary>
    /// 
    /// </summary>
    public class WMS_SalesOrderCreateResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }


    }
  
}
